﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace B.S.Traceability.Infrastructure.Migrations
{
    public partial class prosss : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<int>(
                name: "Producbatche",
                table: "Processes",
                type: "int",
                nullable: true,
                oldClrType: typeof(int),
                oldType: "int");

            migrationBuilder.AddColumn<int>(
                name: "BatchId",
                table: "Processes",
                type: "int",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "BatchId",
                table: "Processes");

            migrationBuilder.AlterColumn<int>(
                name: "Producbatche",
                table: "Processes",
                type: "int",
                nullable: false,
                defaultValue: 0,
                oldClrType: typeof(int),
                oldType: "int",
                oldNullable: true);
        }
    }
}
